﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Qiang.Styles
{
    public class ShapeState
    {

        #region 初始化

        public ShapeState()
        {
            _symbol = new VectorSymbol();
            _selectionSymbol = new VectorSymbol();
            _isSelected = false;
        }


        public ShapeState(IVectorSymbol symbol, IVectorSymbol selectionSymbol, bool isSelected)
        {
            _symbol = symbol;
            _selectionSymbol = selectionSymbol;
            _isSelected = isSelected;
        }

        #endregion


        #region 属性

        IVectorSymbol _symbol;

        /// <summary>
        /// 
        /// </summary>
        public IVectorSymbol Symbol
        {
            get { return _symbol; }
            set { _symbol = value; }
        }


        IVectorSymbol _selectionSymbol;

        /// <summary>
        /// 
        /// </summary>
        public IVectorSymbol SelectionSymbol
        {
            get { return _selectionSymbol; }
            set { _selectionSymbol = value; }
        }


        bool _isSelected;

        /// <summary>
        /// 
        /// </summary>
        public bool IsSelected
        {
            get { return _isSelected; }
            set { _isSelected = value; }
        }

        #endregion

    }
}
